<style>
label{
	text-align:right;
}
</style>
<div class="row">
	<div class="col-lg-12">
		<div class="panel panel-default">
			<div class="panel-heading">
				<h4>
					<span>Form Upload Ruas Jalan</span>
				</h4>
			</div>
			<div class="panel-body">
				<?php echo form_open_multipart($post_action);?>
				<input type="text" name="id_akun" id="id_akun" value="<?php echo $this->session->userdata("id_akun");?>" style="display:none;">
					<div class="form-group">
						<label class="col-lg-3 control-label" for="input">Pilih Periode</label>
						<div class="col-lg-6">
							<select name="periode" id="periode" class="form-control nostyle">
								<option value="">-- Pilih Periode --</option>
								<?php foreach($data_periode as $row){ ?>
									<option value="<?php echo $row["ID_PERIODE"];?>">Tanggal (<?php echo date('d/m/Y',strtotime($row["TGL_AWAL"]));?>) - (<?php echo date('d/m/Y',strtotime($row["TGL_AKHIR"]));?>) &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $row["KETERANGAN"]; ?></option>
								<?php }?>
							</select>
						</div>
						<font color="red"><?php echo form_error("periode"); ?></font>
					</div>
					<br>
					<br>
					<br>
					<div class="form-group">
						<label class="col-lg-3 control-label" for="input">Pilih File</label>
						<div class="col-lg-6">
							<!--<input type="file" name="userfile" id="userfile" class="form-control elastic">-->
							<?php echo form_upload(array('name'=>'userfile'));?>
						</div>
						<font color="red"><?php echo form_error("userfile"); ?></font>
					</div>
					<br>
					<br>
					<br>
					<div class="form-group">
						<div class="col-lg-offset-3 col-lg-9">
							<button type="submit" class="btn btn-info">Simpan</button>
							<button type="reset" class="btn btn-warning">Reset</button>
						</div>
					</div>
				<?php echo form_close();?>
			</div>
		</div>
	</div>
</div>
<script>
$(document).ready(function (){
	
});
</script>